import api from './_api'
const actions = {
  doSomething () {
    api.doSomething()
  },

  loadProgramList () {
    return api.getProgramList()
  },

  loadWorkouts (context, baseProgramId) {
    return api.getWorkoutList(baseProgramId)
  },

  saveProgram (context, program) {
    return api.putProgram(program)
  }
}
export default actions
